package com.ucombuy.sponsor.dao;

import com.ucombuy.sponsor.entity.AdUser;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * Created by yaosheng on 2021/3/27.
 */
public interface AdUserRepository extends JpaRepository<AdUser,Long> {

    /**
     * 根据用户名查找用户记录
     * */
    AdUser findByUsername(String username);
}
